#!/usr/bin/env python
# -*- coding: utf-8 -*-
# you don't neet to do this if you have installed accost in your system python path
import sys 
import os
base_path = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(base_path, '..', '..'))
# a typical usage to setup your own project
from werkzeug import DebuggedApplication
from accost import WSGIApplication
from accost.middlewares import *
from accost.cli import Command
import ebank
application = WSGIApplication(ebank)
if ebank.debug:
    application = DebuggedApplication(application)
Command(application).run()
